#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <sys/stat.h> 
#include <time.h>
#include "include/log.h"

#define ECHO_PORT 9999
#define BUF_SIZE 9999

int test_func1()
{
	//LOG_INFO(LOG_DEBUG, "%s", "hello world!!"); 
	return 0;
}


int main(){
   LOG_SetPrintLogPlaceFlag(1);//保存打印信息到文件
	LOG_Init("info", 8000);
	//LOG_INFO(LOG_DEBUG, "%s", "Init log!!");
	LOG_Destroy;

	test_func1();
	LOG_Destroy();
	LOG_DB("%s", "Destroy log!!");
	LOG_Destroy();
}